#ifndef BREAKFASTMODEL_H
#define BREAKFASTMODEL_H

#include <QSqlQueryModel>
#include <QSqlQuery>
#include <QDate>

class MealModel : public QSqlQueryModel
{
    Q_OBJECT
public:
    enum MealType {
        MealType_BreakFast  = 0,
        MealType_Lunch      = 1,
        MealType_Dinner     = 2
    };

    MealModel(MealType type, QDate date, QSqlDatabase *db, QObject *parent = 0);
    void setDate(QDate date);

private:
    MealType m_type;
    QSqlDatabase *m_db;

signals:

public slots:

};

#endif // BREAKFASTMODEL_H
